package edu.sctu.wangfuxin.day20150526;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by user06 on 2015/5/26.
 */
//public class Main {
//    public static void main(String[] args) {
//        TestHashMap testHashMap = new TestHashMap();
//        System.out.println(testHashMap.setMap().get(1));
//        HashMap<Integer, Student> map1 = testHashMap.setMapDataClass(20);
////        for (int i = 0; i < map1.size(); i++) {
////            System.out.println(map1.get(i).getName());
////        }
//        //foreach遍历
//        for (Map.Entry<Integer, Student> item : map1.entrySet()) {
//            System.out.println(item.getValue().getName());
//        }
//    }
//
//}
